package com.mpyy.dao.purchase;

import com.mpyy.pojo.PurchaseStock;
import com.mpyy.pojo.PurchaseStockDesc;
import com.mpyy.pojo.SaleOrderDesc;
import com.mpyy.pojo.SupplierInfo;
import org.springframework.stereotype.Repository;

import java.util.List;

@Repository(value = "supplierMapperDaoInter")
public interface SupplierMapperDaoInter {
    /*供货商选择*/
    List<SupplierInfo> searchSupplierInfo(SupplierInfo supplierInfo);
    /*往来财务列表*/
    List<PurchaseStock> searchFinance(PurchaseStock purchaseStock);
    /*往来财务列表详情*/
    List<PurchaseStockDesc> searchFinanceDesc(PurchaseStockDesc purchaseStockDesc);
    /*汇总表*/
    List<PurchaseStockDesc> searchcollect(PurchaseStockDesc purchaseStockDesc);
    /*流水表*/
    List<PurchaseStockDesc> searchStream(PurchaseStockDesc purchaseStockDesc);
    /*商品销售情况*/
    List<SaleOrderDesc> searchSaleOrderDesc(SaleOrderDesc saleOrderDesc);
    /**供货商账务*/
    List<SupplierInfo> searchAccounting(SupplierInfo supplierInfo);

    /*删除进货单号*/
    int updatePurchaseStock(PurchaseStock purchaseStock);
    /*删除进货详细单号*/
    int updatePurchaseStockDesc(PurchaseStock PurchaseStock);

    /*删除退货单号*/
    int updatePurchaseReturn(PurchaseStock purchaseStock);
    /*删除退货详细单号*/
    int updatePurchaseReturnDesc(PurchaseStock purchaseStock);
}
